package com.example.threadlocal;

public class RunnableContext {

    private Runnable runnable;

    private String logId;

    public RunnableContext(Runnable runnable, String logId) {
        this.runnable = runnable;
        this.logId = logId;
    }

    public Runnable getRunnable() {
        return runnable;
    }

    public RunnableContext setRunnable(Runnable runnable) {
        this.runnable = runnable;
        return this;
    }

    public String getLogId() {
        return logId;
    }

    public RunnableContext setLogId(String logId) {
        this.logId = logId;
        return this;
    }
}